import 'package:color_block_downloader_flutter/ui/widgets/control_panel.dart';
import 'package:color_block_downloader_flutter/ui/widgets/info_panel.dart';
import 'package:color_block_downloader_flutter/ui/widgets/preview_panel.dart';
import 'package:flutter/material.dart';

/// 移动端主体
class MobileBody extends StatelessWidget {
  const MobileBody({super.key});

  @override
  Widget build(BuildContext context) {
    return const Column(
      children: [
        // 预览面板
        Expanded(flex: 2, child: PreviewPanel()),
        // 控制面板
        Expanded(flex: 3, child: ControlPanel()),
        // 信息面板
        Expanded(flex: 1, child: InfoPanel()),
      ],
    );
  }
}
